<?php
/* @var $this MembersController */
/* @var $model Members */
/* @var $form CActiveForm */
?>
<div class="grid-24">
	<div class="widget">
		<div class="widget-header">
			<span
				class="<?php if (sizeof($searchData) > 0) { ?>icon-minus-alt<?php } else { ?>icon-plus-alt<?php } ?>"
				id="search_icon" onclick="return commonFn.searchForm()"></span>
			<h3>
			<?php echo Yii::t('main', 'form.search'); ?>
			</h3>
		</div>
		<!-- .widget-header -->
		<div class="widget-content" style="<?php if (sizeof($searchData) == 0) { ?>display: none;<?php }; ?>" id="search_form">
		<?php
		$form = $this->beginWidget('CActiveForm', array(
          'action' => Yii::app()->createUrl($this->route),
          'method' => 'get',
          'htmlOptions' => array('class' => 'form uniformForm validateForm'),
		));
		?>

			<div class="field-group">
			<?php echo $form->label($model,'member_id'); ?>
				<div class="field">
				<?php echo $form->textField($model,'member_id'); ?>
				</div>
			</div>

			<div class="field-group">
			<?php echo $form->label($model,'name'); ?>
				<div class="field">
				<?php echo $form->textField($model,'name',array('size'=>45,'maxlength'=>45)); ?>
				</div>
			</div>

			<div class="field-group">
			<?php echo $form->label($model,'nickname'); ?>
				<div class="field">
				<?php echo $form->textField($model,'nickname',array('size'=>32,'maxlength'=>32)); ?>
				</div>
			</div>

			<div class="field-group">
			<?php echo $form->label($model,'mac_address'); ?>
				<div class="field">
				<?php echo $form->textField($model,'mac_address',array('size'=>45,'maxlength'=>45)); ?>
				</div>
			</div>

			<div class="field-group">
			<?php echo $form->label($model,'status'); ?>
				<div class="field">
				<?php echo $form->textField($model,'status',array('size'=>45,'maxlength'=>45)); ?>
				</div>
			</div>

			<div class="row buttons">
			<?php echo CHtml::submitButton('Search'); ?>
			</div>

			<?php $this->endWidget(); ?>
		</div>
	</div>
</div>
